home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Space
- Caption = "DSKSPC.DLL Demo"
- Height = 3165
- Icon = SPACE.FRX:0000
- Left = 1425
- LinkTopic = "Form1"
- MaxButton = 0 'False
- ScaleHeight = 2760
- ScaleWidth = 3375
- Top = 3900
- Width = 3495
- Begin CommandButton Command2
- Caption = "Quit"
- Height = 375
- Left = 1800
- TabIndex = 5
- Top = 2160
- Width = 1215
- End
- Begin DriveListBox Drive1
- Height = 315
- Left = 240
- TabIndex = 3
- Top = 480
- Width = 2895
- End
- Begin CommandButton Command1
- Caption = "Get Info"
- Height = 375
- Left = 360
- TabIndex = 0
- Top = 2160
- Width = 1215
- End
- Begin Label Label5
- Alignment = 1 'Right Justify
- Caption = "Free Space:"
- Height = 255
- Left = 240
- TabIndex = 7
- Top = 1440
- Width = 1455
- End
- Begin Label Label4
- Alignment = 1 'Right Justify
- Caption = "Total Space:"
- Height = 255
- Left = 240
- TabIndex = 6
- Top = 1080
- Width = 1455
- End
- Begin Label Label3
- Caption = "Drives:"
- Height = 255
- Left = 240
- TabIndex = 4
- Top = 240
- Width = 1215
- End
- Begin Label Label2
- Alignment = 1 'Right Justify
- Height = 255
- Left = 1920
- TabIndex = 2
- Top = 1440
- Width = 1215
- End
- Begin Label Label1
- Alignment = 1 'Right Justify
- Height = 255
- Left = 1920
- TabIndex = 1
- Top = 1080
- Width = 1215
- End
- Sub Command1_Click ()
- Label1.Caption = Format$(DiskSpaceTotal(Drive1.Drive))
- Label2.Caption = Format$(DiskSpaceFree(Drive1.Drive))
- End Sub
- Sub Command2_Click ()
- End
- End Sub
-